#!/bin/bash
#
# Copyright (c) 2005, Thomas Matthijs <axxo@gentoo.org>
# Copyright (c) 2005, Gentoo Foundation
#
# Licensed under the GNU General Public License, v2.
#

[[ -z ${BOOTCLASSPATH} ]] && export BOOTCLASSPATH=$(java-config-2 --runtime)

if [[ -z "${BOOTCLASSPATH}" ]]; then
	echo "!!! Could not find runtime classes" > /dev/stderr
	exit 2
fi

exec /usr/bin/jikes-bin "$@"
